package mesweb.mesweb.vo.sale;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: TODO
 * @Author niufw
 * @Date 2021/11/22 10:50
 * @Version 1.0
 */
@Data
public class OrderProudctDtlVo {

    private  Long id;
    /**订单编号*/

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    /**订单ID*/

    @ApiModelProperty(value = "订单Id")
    private long orderId;

    /**产品编号*/

    @ApiModelProperty(value = "产品编号")
    private String productNo;
    /**产品Id*/

    @ApiModelProperty(value = "产品名称")
    private String productName;

    /**数量*/

    @ApiModelProperty(value = "数量")
    private Integer qty;
    /**序号*/

    @ApiModelProperty(value = "序号")
    private Integer seq;

    /*
    * 交货期
    * */

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "交货时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dRefDeliveryDate;

    /*
     * 产线Id
     */
    @ApiModelProperty(value = "产线id")
    private Integer produceLineId;

    /*
     * 产线编号
     */
    @ApiModelProperty(value = "产线编号")
    private String produceLineNo;

    /*
     * 产线名称
     */
    @ApiModelProperty(value = "产线名称")
    private String produceLineName;
}
